package com.cuif.helloworld;

import com.cuif.pojo.User;

public class HelloWorldService {
	
	private User user;

	public User getUser() { 
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public void sayHello(){
		System.out.println("hello, user name is " + user.getName() + " age is " + user.getAge());
	}
	
}
